// 基于template/src/widgets/{{appEntities}}/{{ctrls@FORM}}-form/{{spinalCase ctrl.codeName}}-form-vo.ts.hbs生成
import { ControlVOBase } from '@/core';
import { transformValue } from '@/utils';
import { model } from './main-form-model';

export class FormControlVO extends ControlVOBase {
    constructor(data: any) {
        //  表单预置字段
        data.srfwfmemo = data['srfwfmemo'] ? data['srfwfmemo'] : '';
        data.srffrontuf = data['srffrontuf'] ? data['srffrontuf'] : '';
        super(data);
        //  表单自持属性
        this.$ownKeys = ['srfupdatedate', 'srforikey', 'srfkey', 'srfmajortext', 'srftempmode', 'srfuf', 'srfdeid', 'srfsourcekey', 'singlelinetext', 'passwordtext', 'inputnumber', 'mutlilinetext', 'switch', 'rate', 'slider', 'sliderrange', 'checkbox', 'checkboxbutton', 'checkboxlist', 'checkboxlistbutton', 'dropdownlist', 'mutlidropdownlist', 'dropdownlistcascader', 'formitem2', 'dropdownlisttree', 'mutlidropdownlisttree', 'mapselect', 'maplongitude', 'maplatitude', 'cascaderone', 'cascadertwo', 'cascadertree', 'cascaderselect', 'mutlicascaderselect', 'mutlicascadertree', 'stringarray', 'numberarray', 'urlarray', 'imagearray', 'intarray', 'timerange', 'starttime', 'endtime', 'daterange', 'startdate', 'enddate', 'numberrange', 'startnumber', 'endnumber', 'eventinfo', 'formitem', 'formitem3', 'formitem4', 'formitem5', 'formitem6', 'formitem7', 'avuetestid'];
    }
    get srfupdatedate() {
        return this.$DO.updatedate;
    }
    set srfupdatedate(value: any) {
        this.$DO.updatedate = value;
    }
    get srfkey() {
        return this.$DO.avuetestid;
    }
    set srfkey(value: any) {
        this.$DO.avuetestid = value;
    }
    get srfmajortext() {
        return this.$DO.avuetestname;
    }
    set srfmajortext(value: any) {
        this.$DO.avuetestname = value;
    }
    get singlelinetext() {
        return this.$DO.singlelinetext;
    }
    set singlelinetext(value: any) {
        this.$DO.singlelinetext = value;
    }
    get passwordtext() {
        return this.$DO.passwordtext;
    }
    set passwordtext(value: any) {
        this.$DO.passwordtext = value;
    }
    get inputnumber() {
        return this.$DO.inputnumber;
    }
    set inputnumber(value: any) {
        this.$DO.inputnumber = value;
    }
    get mutlilinetext() {
        return this.$DO.mutlilinetext;
    }
    set mutlilinetext(value: any) {
        this.$DO.mutlilinetext = value;
    }
    get switch() {
        return this.$DO.switchfield;
    }
    set switch(value: any) {
        this.$DO.switchfield = value;
    }
    get rate() {
        return this.$DO.rate;
    }
    set rate(value: any) {
        this.$DO.rate = value;
    }
    get slider() {
        return this.$DO.slider;
    }
    set slider(value: any) {
        this.$DO.slider = value;
    }
    get sliderrange() {
        return this.$DO.sliderrange;
    }
    set sliderrange(value: any) {
        this.$DO.sliderrange = value;
    }
    get checkbox() {
        return this.$DO.checkbox;
    }
    set checkbox(value: any) {
        this.$DO.checkbox = value;
    }
    get checkboxbutton() {
        return this.$DO.checkboxbutton;
    }
    set checkboxbutton(value: any) {
        this.$DO.checkboxbutton = value;
    }
    get checkboxlist() {
        return this.$DO.checkboxlist;
    }
    set checkboxlist(value: any) {
        this.$DO.checkboxlist = value;
    }
    get checkboxlistbutton() {
        return this.$DO.checkboxlistbutton;
    }
    set checkboxlistbutton(value: any) {
        this.$DO.checkboxlistbutton = value;
    }
    get dropdownlist() {
        return this.$DO.dropdownlist;
    }
    set dropdownlist(value: any) {
        this.$DO.dropdownlist = value;
    }
    get mutlidropdownlist() {
        return this.$DO.mutlidropdownlist;
    }
    set mutlidropdownlist(value: any) {
        this.$DO.mutlidropdownlist = value;
    }
    get dropdownlistcascader() {
        return this.$DO.dropdownlistcascader;
    }
    set dropdownlistcascader(value: any) {
        this.$DO.dropdownlistcascader = value;
    }
    get formitem2() {
        return this.$DO.dropdownlistcascader;
    }
    set formitem2(value: any) {
        this.$DO.dropdownlistcascader = value;
    }
    get dropdownlisttree() {
        return this.$DO.dropdownlisttree;
    }
    set dropdownlisttree(value: any) {
        this.$DO.dropdownlisttree = value;
    }
    get mutlidropdownlisttree() {
        return this.$DO.mutlidropdownlisttree;
    }
    set mutlidropdownlisttree(value: any) {
        this.$DO.mutlidropdownlisttree = value;
    }
    get mapselect() {
        return this.$DO.mapselect;
    }
    set mapselect(value: any) {
        this.$DO.mapselect = value;
    }
    get maplongitude() {
        return this.$DO.maplongitude;
    }
    set maplongitude(value: any) {
        this.$DO.maplongitude = value;
    }
    get maplatitude() {
        return this.$DO.maplatitude;
    }
    set maplatitude(value: any) {
        this.$DO.maplatitude = value;
    }
    get cascaderone() {
        return this.$DO.cascaderone;
    }
    set cascaderone(value: any) {
        this.$DO.cascaderone = value;
    }
    get cascadertwo() {
        return this.$DO.cascadertwo;
    }
    set cascadertwo(value: any) {
        this.$DO.cascadertwo = value;
    }
    get cascadertree() {
        return this.$DO.cascadertree;
    }
    set cascadertree(value: any) {
        this.$DO.cascadertree = value;
    }
    get cascaderselect() {
        return this.$DO.cascaderselect;
    }
    set cascaderselect(value: any) {
        this.$DO.cascaderselect = value;
    }
    get mutlicascaderselect() {
        return this.$DO.mutlicascaderselect;
    }
    set mutlicascaderselect(value: any) {
        this.$DO.mutlicascaderselect = value;
    }
    get mutlicascadertree() {
        return this.$DO.mutlicascadertree;
    }
    set mutlicascadertree(value: any) {
        this.$DO.mutlicascadertree = value;
    }
    get stringarray() {
        return this.$DO.stringarray;
    }
    set stringarray(value: any) {
        this.$DO.stringarray = value;
    }
    get numberarray() {
        return this.$DO.numberarray;
    }
    set numberarray(value: any) {
        this.$DO.numberarray = value;
    }
    get urlarray() {
        return this.$DO.urlarray;
    }
    set urlarray(value: any) {
        this.$DO.urlarray = value;
    }
    get imagearray() {
        return this.$DO.imagearray;
    }
    set imagearray(value: any) {
        this.$DO.imagearray = value;
    }
    get intarray() {
        return this.$DO.intarray;
    }
    set intarray(value: any) {
        this.$DO.intarray = value;
    }
    get timerange() {
        return this.$DO.timerange;
    }
    set timerange(value: any) {
        this.$DO.timerange = value;
    }
    get starttime() {
        return this.$DO.starttime;
    }
    set starttime(value: any) {
        this.$DO.starttime = value;
    }
    get endtime() {
        return this.$DO.endtime;
    }
    set endtime(value: any) {
        this.$DO.endtime = value;
    }
    get daterange() {
        return this.$DO.daterange;
    }
    set daterange(value: any) {
        this.$DO.daterange = value;
    }
    get startdate() {
        return this.$DO.startdate;
    }
    set startdate(value: any) {
        this.$DO.startdate = value;
    }
    get enddate() {
        return this.$DO.enddate;
    }
    set enddate(value: any) {
        this.$DO.enddate = value;
    }
    get numberrange() {
        return this.$DO.numberrange;
    }
    set numberrange(value: any) {
        this.$DO.numberrange = value;
    }
    get startnumber() {
        return this.$DO.startnumber;
    }
    set startnumber(value: any) {
        this.$DO.startnumber = value;
    }
    get endnumber() {
        return this.$DO.endnumber;
    }
    set endnumber(value: any) {
        this.$DO.endnumber = value;
    }
    get avuetestid() {
        return this.$DO.avuetestid;
    }
    set avuetestid(value: any) {
        this.$DO.avuetestid = value;
    }
    // 界面主键标识
    get avuetest() {
        return this.$DO.avuetestid;
    }

    set avuetest(value: any) {
        this.$DO.avuetestid = value;
    }

    //  工作流预置字段
    srfwfmemo: any;
    srffrontuf: any;

    //  无实体属性表单项
    get srftempmode() {
        return this.$DO.srftempmode;
    }

    set srftempmode(value: any) {
        this.$DO.srftempmode = value;
    }
    get eventinfo() {
        return this.$DO.eventinfo;
    }

    set eventinfo(value: any) {
        this.$DO.eventinfo = value;
    }
    get formitem() {
        return this.$DO.formitem;
    }

    set formitem(value: any) {
        this.$DO.formitem = value;
    }
    get formitem3() {
        return this.$DO.formitem3;
    }

    set formitem3(value: any) {
        this.$DO.formitem3 = value;
    }
    get formitem4() {
        return this.$DO.formitem4;
    }

    set formitem4(value: any) {
        this.$DO.formitem4 = value;
    }
    get formitem5() {
        return this.$DO.formitem5;
    }

    set formitem5(value: any) {
        this.$DO.formitem5 = value;
    }
    get formitem6() {
        return this.$DO.formitem6;
    }

    set formitem6(value: any) {
        this.$DO.formitem6 = value;
    }
    get formitem7() {
        return this.$DO.formitem7;
    }

    set formitem7(value: any) {
        this.$DO.formitem7 = value;
    }

    //  表单重复器

    /**
     * 返回后台数据
     *
     * @return {*} 
     * @memberof FormControlVO
     */
	public getDo() {
        return {
            srffrontuf: this.srffrontuf,
            singlelinetext: this.$DO.singlelinetext,
passwordtext: this.$DO.passwordtext,
inputnumber: this.$DO.inputnumber,
mutlilinetext: this.$DO.mutlilinetext,
switchfield: this.$DO.switchfield,
rate: this.$DO.rate,
slider: this.$DO.slider,
sliderrange: this.$DO.sliderrange,
checkbox: this.$DO.checkbox,
checkboxbutton: this.$DO.checkboxbutton,
checkboxlist: this.$DO.checkboxlist,
checkboxlistbutton: this.$DO.checkboxlistbutton,
dropdownlist: this.$DO.dropdownlist,
mutlidropdownlist: this.$DO.mutlidropdownlist,
dropdownlistcascader: this.$DO.dropdownlistcascader,
dropdownlisttree: this.$DO.dropdownlisttree,
mutlidropdownlisttree: this.$DO.mutlidropdownlisttree,
mapselect: this.$DO.mapselect,
maplongitude: this.$DO.maplongitude,
maplatitude: this.$DO.maplatitude,
cascaderone: this.$DO.cascaderone,
cascadertwo: this.$DO.cascadertwo,
cascadertree: this.$DO.cascadertree,
cascaderselect: this.$DO.cascaderselect,
mutlicascaderselect: this.$DO.mutlicascaderselect,
mutlicascadertree: this.$DO.mutlicascadertree,
stringarray: this.$DO.stringarray,
numberarray: this.$DO.numberarray,
urlarray: this.$DO.urlarray,
imagearray: this.$DO.imagearray,
intarray: this.$DO.intarray,
timerange: this.$DO.timerange,
starttime: this.$DO.starttime,
endtime: this.$DO.endtime,
daterange: this.$DO.daterange,
startdate: this.$DO.startdate,
enddate: this.$DO.enddate,
numberrange: this.$DO.numberrange,
startnumber: this.$DO.startnumber,
endnumber: this.$DO.endnumber,
updatedate: this.$DO.updatedate,
avuetestid: this.$DO.avuetestid,
avuetestname: this.$DO.avuetestname,
eventinfo: this.eventinfo,
formitem: this.formitem,
formitem3: this.formitem3,
formitem4: this.formitem4,
formitem5: this.formitem5,
formitem6: this.formitem6,
formitem7: this.formitem7,
        }
	}

}